package com.csp.session;

import javax.sql.DataSource;
import java.sql.Connection;

/**
 * 连接池
 *
 * @author:chengsp
 * @createTime:2019/8/22 13:33
 */
public interface ConnectionFactory extends DataSource {

    /**
     * 归还连接
     * @param connection
     */
    void revertConnection(Connection connection);
}
